package cn.blog.entity;


import java.io.Serializable;

public class Blogtype implements Serializable {
  /**
   * 主键
   */
  private Integer id;
  /**类型名称*/
  private String typeName;
  /**序号*/
  private Integer orderNo;
  /**该类型下博客的数量*/
  private Integer blogCount;

  @Override
  public String toString() {
    return "Blogtype{" +
            "id=" + id +
            ", typeName='" + typeName + '\'' +
            ", orderNo=" + orderNo +
            ", blogCount=" + blogCount +
            '}';
  }

  public Blogtype() {
  }

  public Blogtype(Integer id, String typeName, Integer orderNo, Integer blogCount) {
    this.id = id;
    this.typeName = typeName;
    this.orderNo = orderNo;
    this.blogCount = blogCount;
  }

  public Integer getBlogCount() {
    return blogCount;
  }

  public void setBlogCount(Integer blogCount) {
    this.blogCount = blogCount;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getTypeName() {
    return typeName;
  }

  public void setTypeName(String typeName) {
    this.typeName = typeName;
  }

  public Integer getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(Integer orderNo) {
    this.orderNo = orderNo;
  }
}
